#include<iostream>

using namespace std;

int any_even_one(unsigned x){
    int mask = 1;

    return ((x & mask) == 0) && ((x & (x >> 1)) == 0);
}

int main(void){

    unsigned x = 0xaaaaaaaa;

    cout << any_even_one(x) << endl;

    return 0;
}
